import { BaseColumnType } from '@/components/common-table/common-table-type';

export const isDisabledColumn: BaseColumnType = {
  name: 'base-column',
  prop: 'isDisabled',
  label: '禁用状态',
  width: 120,
  align: 'center',
  formatter: (v) => (!v.isDisabled ? '正常' : '禁用'),
};

export const createTimeColumn: BaseColumnType = {
  name: 'base-column',
  prop: 'createTime',
  label: '创建时间',
  width: 120,
  align: 'center',
};
